const express = require('express')
let app = express()
let adminRouter = express.Router()
let loginName
adminRouter.get("/adminName", (req, res) => {
    if (typeof req.query.loginName != "undefined") {
        loginName = req.query.loginName
    }
    res.json({ loginName })
})
module.exports = adminRouter